package com.avic.rong.search.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Unique;

/**
 * Created by Chenjiaxin on 2019/8/2 16:49
 * E-Mail Address：16601203965@163.com
 */
@Entity
public class User {
    @Id(autoincrement = true)
    @Unique
    private Long id;
    @Property
    private String text;

    @Generated(hash = 1327151780)
    public User(Long id, String text) {
        this.id = id;
        this.text = text;
    }

    @Generated(hash = 586692638)
    public User() {
    }

    public User(String text) {
        this.text = text;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return this.text;
    }

    public void setText(String text) {
        this.text = text;
    }


}
